package com.kd.juhaowan.http.api;

import androidx.annotation.NonNull;


import com.hjq.http.config.IRequestApi;
import com.kd.juhaowan.http.model.NewsPostModel;

public class NewsPostApi implements IRequestApi  {

    @NonNull
    @Override
    public String getApi() {
        return "api/game/addComment";
    }


    private String game_id;
    private String content;
    private String comment_id;
    private String reply_to_reply_id;
    private String images;
    private String number_stars;
//    private String links;





    public NewsPostApi(NewsPostModel model) {
        this.game_id= model.getGame_id();
        this.content = model.getContent();
        this.comment_id = model.getComment_id();
        this.reply_to_reply_id = model.getReply_to_reply_id();
        this.images = model.getImages();;
        this.number_stars = model.getNumber_stars();
    }


}
